package day10.homework;
/** 狗类 */
public class Dog0 extends Canidae{
    //宠物犬
    private String petdog;
    //警犬
    private String policedog;
    public Dog0(){

    }
    public Dog0(String petdog,String policedog){
        this.petdog = petdog;
        this.policedog = policedog;
    }
    public void work(){
        System.out.println(this.petdog + "可以卖萌" + policedog + "可以帮助警察");
    }
}
